SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1787d9e8cdb09bb13bd410e7e31c98b739c0594a09a5c3974bedac213f0f601d' 
  AND token = 'O/Fc1CcFbeo2wiaSVOK38jFNjISC7a5dq94/NJz7nVw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}