SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '271278b45094e5a1382ded13c0f5fbb83a470fc20de2152ad2e7b9098136607e' 
  AND token = 'sL+sivpZ7dxBcJEYE8j0ohHhbI173CketDFLOjEAB0w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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